import request from '@/utils/request'
const Base=process.env.VUE_APP_BASE_API;
// 查询登录日志列表
export function list(query) {
  return request({
    url: `${Base}/monitor/logininfor/list`,
    method: 'get',
    params: query
  })
}

// 删除登录日志
export function delLogininfor(infoId) {
  return request({
    url: `${Base}/monitor/logininfor/` + infoId,
    method: 'delete'
  })
}

// 清空登录日志
export function cleanLogininfor() {
  return request({
    url: `${Base}/monitor/logininfor/clean`,
    method: 'delete'
  })
}
